import { FC } from "react";
import { Typography, Input } from "antd";
import { InputDefaultProps, InputPropsType } from "./interface";
const { Paragraph } = Typography;
const QInput: FC<InputPropsType> = (props: InputPropsType) => {
  const { placeholder, title } = { ...InputDefaultProps, ...props };
  return (
    <div>
      <Paragraph strong>{title}</Paragraph>
      <Input placeholder={placeholder}></Input>
    </div>
  );
};
export default QInput;
